package tp3.pages.java;

import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.include.Include;
import org.apache.wicket.markup.html.link.Link;

public class GeneralPage extends WebPage {

	public GeneralPage() {
		WebMarkupContainer css = new WebMarkupContainer("mycss");
		add(css);

		add(new Include("footer", "pages/Footer.html"));

		add(new Link<Object>("linkVolver") {
			@Override
			public void onClick() {
				this.setResponsePage(HomePage.class);
			}
		});
	}

}
